package com.topc.problem.model.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ToString
public class QueryProblemInfoDto {

    @NotNull
    private String title;

    private List<Long> tagIds;


    private int size;

    @NotNull
    @Max(2)
    @Min(-1)
    private int isPrecise;

    @Max(3)
    @Min(0)
    private int difficulty;

}
